package com.strange.mdl.module.mdl.controller.admin.sutras.vo.volumes;

import com.strange.mdl.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.strange.mdl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 经书卷分页 Request VO")
@Data
public class MdlSutraVolumesPageReqVO extends PageParam {

    @Schema(description = "经书ID", example = "10665")
    private Long sutraId;

    @Schema(description = "卷号")
    private Integer volumeNumber;

    @Schema(description = "卷标题")
    private String volumeTitle;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
